<?php
/**
* @file kolexpense.php
* @date: 2017-5-26 下午5:53:46
* @author: xiweijie
*/
namespace haibao\cms\model\data\kol;

class Kolexpense extends \haibao\cms\model\data\Base{
	public $CooperationId;
	public $CooperationContent;
	public $PartnersName;
	public $UserId;
	public $SaleId;
	public $PaymentMonth;
	public $AfterTaxCost;
	public $PayeeAccountId;
	public $IsPrepay;
	public $PrepayCost;
	public $PrepayDate;
	public $Status;
	public $AuditUserId;
	public $CreateTime;
	public $CooperationTime;
	public $PayeeAccount;
	public $CooperationInfo;
	public $SaleInfo;
	
	public function __construct(){
		parent::__construct();
		$this->intField('CooperationId', 'CooperationId',true);
		$this->stringField('CooperationContent', 'CooperationContent',true);
		$this->stringField('PartnersName', 'PartnersName',true);
		$this->intField('UserId', 'UserId',true);
		$this->intField('SaleId', 'SaleId',true);
		$this->dateField('PaymentMonth', 'PaymentMonth',true);
		$this->intField('PayeeAccountId', 'PayeeAccountId',true);
		$this->floatField('AfterTaxCost', 'AfterTaxCost',true);
		$this->intField('IsPrepay', 'IsPrepay',true);
		$this->floatField('PrepayCost', 'PrepayCost',true);
		$this->dateField('PrepayDate', 'PrepayDate',true);
		$this->intField('Status', 'Status',true);
		$this->intField('AuditUserId', 'AuditUserId',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->dateField('CooperationTime', 'CooperationTime',true);

		$this->setTableName('KolExpense');
	}
}